package com.kingdee.eas.xbang.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DataCenterFactory
{
    private DataCenterFactory()
    {
    }
    public static com.kingdee.eas.xbang.basedata.IDataCenter getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDataCenter)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("CC49649C") ,com.kingdee.eas.xbang.basedata.IDataCenter.class);
    }
    
    public static com.kingdee.eas.xbang.basedata.IDataCenter getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDataCenter)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("CC49649C") ,com.kingdee.eas.xbang.basedata.IDataCenter.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.basedata.IDataCenter getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDataCenter)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("CC49649C"));
    }
    public static com.kingdee.eas.xbang.basedata.IDataCenter getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDataCenter)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("CC49649C"));
    }
}